package com.itheima.service.db.impl;

import com.itheima.domain.UmsMenu;
import com.itheima.mapper.UmsMenuMapper;
import com.itheima.service.db.UmsMenuService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

@DubboService
public class UmsMenuServiceImpl implements UmsMenuService {

    @Autowired
    UmsMenuMapper umsMenuMapper;

    @Override
    public UmsMenu findById(Long id) {
        return umsMenuMapper.selectById(id);
    }
}
